package com.example.demo.day.config.learn.designBook.part11Builder.part2;

import com.example.demo.day.config.learn.designBook.part11Builder.part1.BenzModel;
import com.example.demo.day.config.learn.designBook.part11Builder.part1.CarModel;

import java.util.ArrayList;

//奔驰车组装者
public class BenzBuilder extends CarBuilder {

    private BenzModel benz = new BenzModel();

    @Override
    public CarModel getCarModel() {
        return this.benz;
    }

    @Override
    public void setSequence(ArrayList<String> sequence) {
        this.benz.setSequence(sequence);
    }
}
